package com.dhl.cloud.course.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dhl.cloud.common.vdo.CourseBean;
import com.dhl.cloud.course.entity.Course;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
    
    List<Course> selectByusername(String username);
    
    List<CourseBean> selectBymarjor(@Param("marjor") String marjor);
    
}